package com.example.ymm.modules1.entity.hl.ex;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * 团队
 */

@Data
public class ExTeam implements Serializable {

    @TableId
    private String teamId;

    private String name;

    private String deptName;

    Integer sort;

    Integer trueScore;//得分

    Integer erroScore;//扣分


    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(exist = false)
    List<ExTeamUser> items;


    @TableField(exist = false)
    List<ExTeamRule> rules;

}
